
<div class="container">
	<div class="row">
    	<div class="span12">
			<h2>Регистрация</h2>
        	<?php /** @var BootActiveForm $form */
				$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(
					'id'=>'registration-form',
					'htmlOptions'=>array('class'=>'well'),
					'enableAjaxValidation' => true,
					'enableClientValidation' => true,
				)); ?>
				 
				
				 
				<?php echo $form->textFieldRow($model, 'login', array('class'=>'span3')); ?>
				<?php echo $form->passwordFieldRow($model, 'password', array('class'=>'span3')); ?>
				<?php echo $form->passwordFieldRow($model, 'passwordRe', array('class'=>'span3')); ?>
				<?php echo $form->textFieldRow($model, 'email', array('class'=>'span3')); ?> <br />
				
				<?php $this->widget('CCaptcha', array('buttonLabel' => '<br>[новый код]')); ?>
				<?php echo $form->textFieldRow($model, 'verifyCode', array('class'=>'span2')); ?> <br />
				
				<?php $this->widget('bootstrap.widgets.BootButton', array('buttonType'=>'submit', 'icon'=>'ok', 'label'=>'Зарегистрироватся')); ?>
				 
				<?php $this->endWidget(); ?>
        </div>
    </div>
</div>